.px2rem(@name, @px) {
    @{name}: @px / 75 * 1rem;
}

body {
    background: #f3f3f3;
}

.header {
    z-index: 99;
    width: 100%;
    .px2rem(height, 100);
    background: white;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #CCCCCC;
    .px2rem(font-size, 30);
    font-weight: bolder;
    position: fixed;
    left: 0;
    top: 0;
    span:nth-child(1) {
        width: 6%;
        text-align: center;
        .px2rem(font-size, 50);
        color: #4A4A4A;
    }
    
    span:nth-child(3) {
        width: 8%;
        img {
            .px2rem(height, 42);
            .px2rem(width, 50)
        }
    }
}

.active {
    color: #ec4b4b;
    border-bottom: 2px solid #ec4b4b;
}

.lists {
    width: 100%;
    .px2rem(margin-top, 100);
    .box {
        overflow: hidden;
        .banner {
            z-index: 99;
            width: 100%;
            .px2rem(height, 80);
            background: white;
            position: fixed;
            .px2rem(top, 102);
            left: 0;
            .nav-list {
                div {
                    text-align: center;
                    .px2rem(line-height,80);
                    font-weight: bolder;
                }
            }
        }
    }
}

.subject-list {
    .px2rem(margin-top, 83);
    .list_slide {
        width: 100%;
//      background: darkblue;
    }
}



//小点



.list_two{
    width: 100%;
    .px2rem(margin-top,10);
    
    figure{
        .px2rem(height,316);
        background: white;
        .px2rem(margin-top,5);
        display: flex;
        .left{
            .px2rem(width,295);
            background: wheat;
            img{
                width: 100%;
                height: 100%;
            }
        }
        .right{
            flex: 1;
            p{
                width: 96%;
                margin: 0 auto;
            }
            p:nth-child(1){
                .px2rem(height,75);
                .px2rem(line-height,75);
                .px2rem(font-size,30);
                font-weight: bolder;
            }
            p:nth-child(2){
                .px2rem(height,60);
                .px2rem(font-size,26);
                color: #45424D;
                span:nth-child(1){
                    .px2rem(padding-left,70);
                    background: url(../img/guoqi.png) no-repeat left center;
                    background-size: 30px 25px;
                }
                span:nth-child(2){
                    .px2rem(margin-left,25);
                    background: #7251ae;
                    color: white;
                }
            }
            p:nth-child(3){
                .px2rem(height,128);
                .px2rem(font-size,26);
                color: #474747;
                font-weight: bolder;
            }
            p:nth-child(4){
                display: flex;
                justify-content: space-between;
                span:nth-child(1){
                    span:nth-child(1){
                        .px2rem(font-size,26);
                        font-weight: bolder;
                        color: #e91e63;
                    }
                    span:nth-child(2){
                        .px2rem(font-size,22);
                        color: #565555;
                        text-decoration: line-through;
                    }
                }
                span:nth-child(2){
                     .px2rem(font-size,22);
                        color: #565555;
                }
            }
        }
    }
}
